Tableau Desktop allows users to connect directly to data sources to create visualizations. Tableau Server acts as a middle layer, querying data sources on behalf of client web applications and browsers. It caches frequently accessed data to improve performance. Users can publish Tableau workbooks and data sources to Tableau Server from Tableau Desktop. This allows visualization of live, up-to-date data through a web browser without needing direct access to the underlying sources.