; (B) by a nonprofit organization that is based in the local jurisdiction where the energy system is located; (C) collectively, by community members; or (D) by a worker-owned or community-owned for-profit entity. (4) Compatible land The term compatible land means land that is at least 5 miles away from existing protected areas and within 3 miles of existing transmission infrastructure. (5) Critical community infrastructure The term critical community infrastructure means infrastructure that is necessary to providing vital community and individual functions, including— (A) schools; (B) town halls; (C) public safety facilities; (D) hospitals; (E) health clinics; (F) community centers; (G) community nonprofit facilities providing essential services; (H) libraries; (I) grocery stores; (J) emergency management facilities; (K) water systems; (L) homeless shelters; (M) senior housing; and (N) public or affordable housing. (6) Eligible entity The term eligible entity means— (A) a State, territory of the United States, or Tribal agency; (B) a local government or political subdivision of a State, including a municipally owned electric utility and an agency, authority, corporation, or instrumentality of a State or Indian Tribe; (C) an electric utility; (D) a nonprofit organization; or (E) a partnership between— (i) a private entity, or a nonprofit organization, that owns critical community infrastructure