To prgram with java you need to download a Java Development Kit (JDK). This includes a compiler that converts our program into Java bytecode. This bytecode is then able to run on any system that supports the Java Virtual Machine (JVM).
Spring generally refers to all of the framworks such as Spring Boot, Spring Data, Spring Security etc. Different Spring framworks all have the common goal of making java development more efficient so that developers can focus on the logic of the program more than its low level code.
Spring Boot helps developers set up their programing environment of spring framework, allowing them to delve into the actual programing part faster. Just like all other frameworks of Spring, you need to use Spring Boot with Spring Framework.