Why both dependency and plugin can add tomcat7? in maven

is when I created a new web project for maven, what I found on the official website was
tomcat7-maven-plugin "s dependency

clipboard.png
pluginplugin

clipboard.png

Why are we allowed to add in dependencies?

Mar.12,2021
The

plug-in does not actually contain Tomcat code, but is written according to the maven plug-in specification and is responsible for managing the tomcat server

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9d5a2-50a11.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9d5a2-50a11.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?