This is hard to answer. In theory, a mainframe computer can be used for just about anything. In practice, their use for many things is not appropriate. The most appropriate use of a mainframe computer is for applications that pass huge amounts of data using programs with little or no direct interaction with an end user. This is usually called "batch processing."
Go to our
sister site. In the section labeled For Beginners: there are three links you should investigate that should answer some of your questions.