Explanation
Newton's laws are not valid in a non-inertial frame.
An inertial frame is a frame of reference where an object at rest remains at rest and an object in motion continues to move at a constant velocity unless acted upon by an external force.
Newton's laws are valid in inertial frames.
A non-inertial frame is a frame that is accelerating with respect to an inertial frame.
In these frames, Newton's laws do not hold true because apparent forces seem to exist due to the acceleration of the frame