Atlassian interview question

why do you need backend & frontend validation?