The answer is both no and yes. VPN is meant to create a secure network for you over the Internet. It uses the VPN’s server as a front to hide your IP from websites that you log into. But whether the VPN is safe itself depends on what kind of VPN for PC you use.
If the VPN’s server is encrypted, it is quite safe to use it for creating virtual networks. However, in case the server isn’t protected, then your data is prone to leaks. It is also recommended to not use VPNs which run advertisements as they monitor your web activity to run specific ads on your web sessions.