Motorcycles have much larger engines than mopeds, so they are very different. A motorcycle has an engine above 250cc, whereas to be classified as a moped, it must have an engine the size of 50cc or less.
A larger engine size means the ability to go much faster, so it makes sense that a motorcycle is a much faster vehicle than a moped.