Yes, it can.
Being on a public WiFi network makes you an easy target for a man-in-the-middle attack.
By using a VPN on your laptop or mobile device, you encrypt your connection and keep yourself safe. This feature is excellent for securing online banking and other activities that can reveal sensitive information.