The distinction in one sentence each
Lossless rewrites the file so it takes less space while every pixel value survives exactly — decode it and you get the original back, byte for byte.
Lossy throws information away on purpose, choosing what to lose based on the limits of human vision, and cannot be reversed.
That is the whole difference, and everything else follows from it.