Microsoft office, for example, has an application called "Remove Office", installed with office, which removes all office application files. AppZapper is a nice little application that will search out applications, Spotlight can also do this.
Generally, however, an application can just dragged to the trash.