The two terms are extremely similar and one involves the other, though they have different uses. One can not lay on the floor themself; lay is something that they do to something else. In contrast, lie is used when the action is being done to oneself.
This cow is resting on the field. Since the cow is performing the action upon itself, it is lying on the field, as opposed to laying.
