The correct investment characterized by the traits you provided is Bonds.
Bonds involve lending money to a city, county government, or company, with the expectation that the principal will be repaid after a certain date along with interest payments. They are generally considered a safer investment, although they are not insured by the FDIC.