A self-signed HTTPS certificate is an SSL/TLS certificate that you generate and sign yourself, not issued by a trusted CA. It enables encrypted HTTPS but is not trusted by browsers by default.
It contains the same stuff that you'd expect in a CA-signed certificate (public key - typically RSA or ECDSA), digital signature and algorithm, metadata) but lacks third-party validation.
What pray tell, is the use? Development environments, internal networks and local testing. The openssl command-line tool can be used to generate keys and certificates.