Protein is the most effective macronutrient providing a satiating effect (makes you feel fuller for longer) so if losing weight is your goal, consuming a protein-rich snack between meals would be ideal to curb the appetite leading you to eat fewer calories in a day.
Protein shakes can also be consumed at any time throughout the day as a meal replacement or in between meals to up your protein intake.