Held rhythm
A tie joins two notes into one sound. Play the first note and hold it. Do not strike the second. Each example is two bars of 4/4. Some lines are slashes. Some are pitches, including a tie across the bar.
How to write on the staff shows how to write ~.