What is a capital gain? Is it taxed the same

What is a capital gain? Is it taxed the same way as dividends?