Ermm is the chain oiled? Is it well used, ie maybe worn? Do the cassette and front sprocket teeth look worn at all? are your derailleurs set correctly?
There's loads of reasons tbh so take it to a bike shop if you're not sure, my bike shop couldn't get to the bottom of my chain slipping , in the end I found it to be the rear wheel hub that was actually slipping due to spline wear inside the wheel