A tie is a curved line written above or below two or more notes with the same position on the staff. It tells you to play the first note only, and to sustain it for the value of both notes. A tie may occur either across a bar line, or within one bar.
Here is a song which contains both ties and dotted quarter notes. Remember to play all B notes as Bb as indicated by the F major key signature.