VERY simple Illustrator question

I am creating a simple design using a variety of squares and lines and I just want to select part of a line or square, not all of it. With all of the selection tools, whenever i click on a line or square, all of object is selected. I want to be able to highlight or use some tool to only select parts of the different objects. Please tell lme how I can do this. Thanks.