@Andrewtv848 light which is made of photons or we can also call it EM field can indeed exert a force on a surface , the problem is that force is very small per individual photon, so you need lots of them , and by lots I mean LOTS.
If that wasn't the case then you could accelerate your car by shining a laser against the asphalt behind you.
@anorlunda linked to a well known experiment, all they do there in a nutshell is they have many large lasers they combine each laser output and focus them from all direction to a single roughly ball pen tip sized ball which contains the fuel, say D-T mixture.
The focused laser pulse is very fast and in that short time it compresses the ball of fuel simultaneously heating it.
But don't look at it as a viable power production method, first of all the energy balance between spent and produced is awful and secondly even if each ignited pellet gave back more than it consumed electrical energy wise this still would be impractical as a reactor because everytime you need to change the old pellet to a new one and that is a rather slow mechanical process.
Sort of like if you had to use a syringe to put droplets of gas inside your internal combustion engine after each combustion cycle. Luckily gas and diesel can be sprayed inside the chamber otherwise it would not function , but here you cannot spray the fusion fuel you need to have it in a small form so that you can concentrate your lasers onto it.
So that means a solid ball.