What year was the motion picture invetnted?

The oldest known motion picture is Roundhay Garden Scene from 1888. But the first motion picture with a real plot was A Trip to the Moon from 1902 and was a Science Fiction film. So the first movie genre ever was Science Fiction. Unbelievable, isn't it?