Is investing an act of optimism?

Whether it's believing in a certain sector/industry or feeling hopeful about a country's future, how optimistic are you about your investments?