Start with the two building blocks: a dash lasts three times as long as a dot. Everything else is combinations of the two.
Morse code encodes text as a series of on-off tones, lights or clicks that a trained listener can follow without any special decoding equipment. Each letter and each digit from 0 to 9 gets its own fixed pattern of short and long signals.
For example, S is three dots (...) and O is three dashes (---), which is why the distress call SOS is sent as:
...---...