JEE/Jakarta EE servers come in 2 varieties: partial-stack like Tomcat and Jetty and full-stack like TomEE, WebLogic, WebSphere.
Wildfly and so forth. TomEE is, of course, all open-source, unlike the commercial products. Another open-source JEE full-stack server is JOnAS, produced by Group Bull and OW2. Mostly its audience is European.
The partial-stack servers support
servlets, JSPs, JNDI and container-based authentication and authorization from the JEE standard. Full-stack servers include stuff like JMS, Web Services, Java ServerFaces, EJB/JPA and, well, a lot of other stuff. So much other stuff, in fact that a lot of Tomcat's initial popularity came from the fact that Tomcat can come up in seconds whereas a server like WildFly's predecessor JBoss sould take minutes to come online, slowing development down a lot. Initially, JBoss used an internal copy of Tomcat as its web page server subsystem, but they now have their own.
There is very little that a full-stack server can do that cannot be done in Tomcat, although a Tomcat webapp has to include JPA, JSF,
etc. in libraries compiled into the WAR, whereas the full-stack servers don't, since they're compiled into the server. That is, in fact, what TomEE is: a Tomcat where the full stack features are compiled into a base Tomcat system to produce a full-stack server. Not actually as easy as it sounds, since when you move, say, your JSF application library from in-app to in-server it has to be very careful that two apps don't try to do conflicting things at the same time.
At this time, TomEE 9 claims to support 100% of the full JEE webapp server stack. A caveat to that is that it uses very specific versions of JEE support libraries. Probably the most notable case being that its EJB provider is Apache OpenStack and many people prefer Hibernate for that.