This framework views religion as a social institution with specific functions and roles within society.