That is just a small script for user convenience which does this:
#!/bin/bash
trap "exit" INT TERM
[[ $EUID != 0 ]] && exec sudo "$0" "$@"
apt update
apt -y upgrade
apt clean
apt -y autoremove
exit 0
Nothing weird, nothing fancy, just upgrades and house-keeping.