Specific area of testing, should or should not?

What are the benefits and drawbacks of specializing in a specific area of testing, such as automation testing or performance testing?

image