The Kansas-Nebraska act was a long debate to decide if Kansas and Nebraska should be slave states or not. Throughout these debates there were many votings between the southern and northern states. Eventually Kansas was yeeted and wasn't a state anymore. Then after a while Kansas became a state. It was a very confusing time but, that's the best summary I could come up with. Hope that helps you and if you have any other questions just ask me. I'll try my best to help.