Cordless tools offer you a lot of flexibility in terms of moving around. They’re made to be lightweight, plus they’re a lot easier to store without the cord. Most come with a long-lasting lithium ion battery.
Corded power tools will never run out of  power since they’re connected to a power supply. If you have a job that needs more torque, a corded tool may be a better choice.