the difference between a motel and hotels

what is the difference between a hotel and a motel?

also how is the rates calculated if we r double?