The -J and ProxyJump options are a way to connect through a specified host, to a host beyond.
The manual entry from the official manual pages (https://man.openbsd.org/ssh) for -J [user@]host[:port] is as follows:
The manual entry from https://man.openbsd.org/ssh_config for ProxyJump is as follows: