Play Portal 2 if you haven't already and this boss will make more sense
This robot was made by Redi one day when he was searching the multiverse for something cool
He found an alternate version of earth where technology is way more advanced and came across a building called "Aperature Laboratories"
Redi went inside and found some very interesting things, portal guns, sentient AI, and moving platforms
There were these robots called cores which were meant to assist the main AI of the whole place, GLaDOS
Redi decided to combine all of the technology there into one core, he named it the Portal Core because it shoots portals
It also shoots lasers.