If it is a solar camera, the camera relies on the solar panel to charge, but in cold weather with insufficient sunlight, it needs to be removed and charged with a power cord when the battery runs out.
However, you can also recharge the camera with a portable power bank without removing it.
If it is a wired camera, it is always plugged into the wall power supply to charge.