In the near term, Ukraine wants continued delivery of military equipment. In the end game, they want any sort of peace treaty ending this war to include NATO/EU/US support. Ideally, in the form of NATO membership. This is crucial to ensure that any peace deal would be lasting. Putin has repeatedly stated that he does not believe a Ukrainian state has a right to exist, and has engaged in military operations against them for over a decade at this point. There is no chance a peace deal will endure without some sort of security guarantee from another power.