If you want flexibility while working, then you should go for a laptop. Also, you may choose to buy a laptop if you are looking for portability.
A fully charged laptop can give you up to a day’s worth of use while travelling or working.
On the other hand, a desktop PC can’t give you the flexibility of working as you can use the desktop in a fixed place.