if the force has a component in the same direction as the displacement of the object, the force is doing positive work. If the force has a component in the direction opposite to the displacement, the force does negative work.
Study 40% syllabus and score up to 100% marks in JEE