"A man with many hats (caps)" is a figurative expression that means a person who has several different roles, or who is responsible for various responsibilities. It's also sometimes used to describe a person who has a wide range of skills and expertise.