Protein shakes are used to supplement your diet. Most people find it hard and expensive to eat enough solid food to get the required amount of protein needed to build muscle. That's where protein shakes come in real handy. They are a quick, cheap, and effective means of getting in protein.
BUT
Solid food is always better than a shake.