What is the use of Mercury and Tomcat in Xampp control panel?
Mercury :
Its a package to send emails. Its a local mail server.
Tomcat :
The Apache Tomcat software is an open source implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language and Jakarta WebSocket technologies.
Tomcat official website
Getting Started with Tomcat
XAMPP Control Panel with Modules :