て can have other functions but if it ends with the て or てください it's a most likely command. Examples:
まどをあけてください = Please open the window
しおをわたして = Pass the salt
ドアをしめてくれませんか? = Won't you shut the door for me?
Other common uses of て are to string verbs together.
たべてのみました = ate and drank.
すしをたべてビールをのみました = ate sushi and drank beer.
かえっておふるにはいりました = went home and took a bath.
てれびをみておどりました = watched TV and was surprised.
コーヒーをのんでいきます = [I'll] drink coffee and go.
And て + いる turns to the "-ing" form. e.g.
たべています = am eating
あそんでいます = am playing
ないていました = was crying