In addition, some park rangers are commissioned as law enforcement officers and carry out a law-enforcement role within national parks and other back-country wilderness and recreational areas, whereas Military police perform law enforcement functions within the military.