Twenty young men from Mastery Charter High School made a visit over to the Philadelphia police training facility.
The students had a chance to take part in live virtual reality scenarios similar to what officers face on a daily basis.
The teens learned about what to do if stopped by an officer and the importance of obeying commands.
The police department says hosting the students gives them a chance to engage the youth and foster a better relationship.
The hope is to also inspire some of the youth to get into law enforcement.