Toddler bed

Can a 1 year old go into a toddler bed? Rails on all sides and also sleeps in the parents room. Toddler bed next to parents bed