Welcome to the Ranch.
I think you have worked out the answer already.
The JRE is used by applications which simply execute Java programming (
Applets on web pages, for example). All the components of the JRE are in the JDK too, but the JDK has compilers etc, so you can use it to create new applications.