Found computer by trash. Worth keeping?

Hi guys I don’t really know much about building computers. Found this by someone’s trash and it boots up to windows 7 but has a password. Is this worth keeping or should I keep any of the pieces? The processor says i5 but that’s all I see