The other replies give the technical definitions, but the high level picture is that a security is an investment opportunity. The issuer of a security has to follow a bunch of laws to ensure that said issuers don’t go around scamming everyday people