Is session closed after browser is closed?Is apache tomcat delete session data of some cliemt after his browser is closed?Or is it developer task?

Is a session not a HTTP server thing but, for example, a PHP or Apache Tomcat feature?

I’m using Tomcat and I thought after the browser is closed, the connection between server and client is also closed, and Apache deletes session data for this client (connection)?

Or is it our task to delete data when the browser (or a connection) is closed?