Thinking of getting new iPhone - will old iPhone work as an iPod without sim?

Am eligible for upgrade and was thinking of giving current iPhone 4 to 8 year old to use as an iPod. Will it work without a sim?
4 answers 4